<?php
if($strStyleSheet == TRUE){
	echo "<table class='Normal' border='0' align='left' width='450'>";
}
     echo "
     <tr align='left' class='Normal'>
         <td align='left' colspan='2'>
             <H2>Order Search Result</H2>
         </td>
     </tr>
";

if(!$myrow[0]==""){
     do {

echo "
     <tr bgcolor='".switch_background($boBG)."' class='Normal'>
         <td>
             <a href='" . ScreenURL("DisplayOrder",array('intOrderID'=>$myrow[0]) ) . "' target='_blank'>
             <img src='./images".SITE_SUFFIX."/update.gif' border='0' alt='Update' align='middle'></a>
             ".$myrow["Customer"]."
         </td>
         <td>
             ".$myrow["OrderDate"]."
         </td>

         <td align='right'>
              <a href=\"" . ScreenURL("ListOrder",array('intOrderID'=>$myrow[0],'ACTION'=>"qryDeleteOrder") ) . "\"
                 onclick=\"return confirmLink(this, 'Delete ');\">
              <img src='./images".SITE_SUFFIX."/delete.gif' border='0' alt='Delete' align='middle'></a>
         </td>
     </tr>
";

         $boBG = -1 - $boBG;
     } while ($myrow = mysql_fetch_array($result));
}else{
echo "
     <tr class='MandatoryRed'><br/>
         <td colspan='3'>
             Your Search Has Returned No Results.
         </td>
     </tr>
";
}
	if($strStyleSheet == TRUE){
   		echo "</table>";
	}
?>
